home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Win2K TCPIP Sec 1.xpl < prev    next >
Text File  |  2004-02-08  |  2KB  |  54 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="7"
  3. "COUNT"="3"
  4. "UIPATH"="Network\TCP/IP Hardening
  5. "NAME"="SYN Attack Protection"
  6. "OSVERSION"="0001011"
  7. "VERSION"="1.01"
  8. "LANGUAGE"="VBScript"
  9. "WARNING"="1"
  10. "TEXT 1"="No SYN protection (Default)"
  11. "TEXT 2"="Reduce retransmission retries, delay route cache (normal)" 
  12. "TEXT 3"="Same as above plus delay indication (very rarely used)" 
  13. "DESCRIPTION 1"="Windows, be default, does not have any protection against so called SYN attacks."
  14. "DESCRIPTION 2"="In Windows 2000 and upwards you can activate an build-in protection against this type of attacks by using these settings."
  15. "DESCRIPTION 3"="If you decide to activate this function, please note the "SYN Attack Protection Triggers" as well."
  16. "DESCRIPTION 4"="For more information about TCP/IP Hardening, see http://www.winnetmag.com/articles/index.cfm?articleid=23918"
  17. "AUTHOR"="Xteq Systems"
  18. "CONTACTURL"="http://www.xteq.com/"
  19. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  20. "COMMENT 1"=" "
  21.  
  22.  
  23.  
  24. sP="HKLM\System\CurrentControlSet\Services\TcpIp\Parameters\SynAttackProtect"
  25.  
  26. Sub Plugin_Initialize 
  27.  i=RegReadValue(sP)
  28.  
  29.  if i=0 or IsEmpty(i) then 
  30.     SetUIElement 1,true
  31.  elseif i=1 then
  32.     SetUIElement 2,true
  33.  else
  34.     SetUIElement 3,true
  35.  end if
  36.  
  37. End Sub
  38.  
  39. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  40.  if GetUIElement(1)=true then
  41.     if RegValueExists(sP) then Call RegDeleteValue(sP)
  42.  elseif GetUIElement(2)=true then
  43.     Call RegWriteValue(sP,1,2)
  44.  else
  45.     Call RegWriteValue(sP,2,2)
  46.  end if
  47.  
  48.  Call Restart()
  49. End Sub
  50.  
  51. Sub Plugin_Terminate 
  52. End Sub
  53.  
  54.